#ifndef PROPRIETES_H
#define PROPRIETES_H

// structures

typedef enum {
	INT = 0, 
	BOOL = 1, 
	FLOAT = 2, 
	ADDRESS = 3,
	VOID = 4,
	ERR = 5
}typage;

typedef struct parametre_s{
	typage type;
	int registre;
	char* lexeme;
	struct parametre_s* next;
}param;

typedef struct proprietes_s {
    typage type;
    param* listeParam;
    int reg;
}prop;




//fonctions
prop * creerPropriete(typage t, param* liste, int reg);
prop* supprimerPropriete(prop* p);

param* addParameterToList(param* liste, typage t);
param* supprimerAllParam(param* liste);
param* supprimerLastParam(param* liste);


#endif 
